body,
* {
    font-family: "Helvetica", "Source Han Sans";
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: black;
}

li {
    list-style: none;
}

a:active {
    color: black;
}

body {
    font-size: 75%;
    line-height: 1.5;
}

/* 导航 */
#nav_top {
    width: 100%;
    height: 87px;
    position: fixed;
    top: 0;
    z-index: 10;
    background-color: #fff;
    z-index: 999;
}

nav {
    width: 1200px;
    height: 87px;
    margin: 0 auto;
    display: flex;
}

#nav_logo {
    width: 100px;
    height: 87px;
}

#nav_logo img {
    display: block;
    width: 100%;
}

#nav_right {
    width: 1100px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#right_top {
    width: 100%;
    height: 40px;
}

#right_top>div {
    width: 300px;
    height: 40px;
    display: flex;
    align-items: center;
    float: right;
}

#languagetext {
    width: 66px;
    height: 40px;
}

#tansuo {
    width: 80px;
    height: 40px;
    position: relative;

    a {
        display: block;
        width: 80px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;

        &:before {
            display: inline-block;
            content: "";
            width: 15px;
            height: 15px;
            background: url("../images/10023.png");
            margin-right: 5px;
        }
    }
}

#login {
    width: 64px;
    height: 40px;
    position: relative;

    a {
        display: block;
        width: 64px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;

        &:before {
            display: inline-block;
            content: "";
            width: 15px;
            height: 15px;
            margin-right: 5px;
            background: url("../images/10024.png") no-repeat -108px -22px/1350%;
        }
    }
}

#cart {
    width: 90px;
    height: 40px;
    position: relative;

    .car {
        display: block;
        width: 100%;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;

        &:before {
            display: inline-block;
            content: "";
            width: 15px;
            height: 15px;
            margin-right: 5px;
            background: url("../images/10024.png") no-repeat -136px -22px/1350%;
        }

        span {
            display: block;
            width: 14px;
            height: 16px;
            margin-top: -10px;
            background-color: red;
            border-radius: 7px;
            line-height: 16px;
            text-align: center;
            color: #fff;
        }
    }
}

#cart_box {
    width: 388px;
    height: 200px;
    background-color: rgb(247, 247, 247);
    position: absolute;
    padding: 10px 5px;
    box-sizing: border-box;
    left: -297px;
    top: 87px;
    z-index: 10;
    display: none;

}

.cartlist {
    padding: 30px 40px 0 40px;
    height: 100%;
    position: relative;
    box-sizing: border-box;
}

.cart_bottom {
    position: absolute;
    bottom: 10px;

}

.cartlist>div:first-child {
    width: 100%;
    text-align: center;
    font-size: 14px;

}

.cart_bottom>div:first-child {
    width: 100%;
    text-align: center;
    font-size: 15px;
    margin: 5px 0;
    display: none;
}

.button {
    width: 308px;
    height: 40px;
    background-color: #c22014;
    font-size: 16px;
    text-align: center;
}

.button>a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 40px;
    color: white;
}

#close {
    width: 15px;
    height: 15px;
    position: absolute;
    right: 5px;
    background: url("../images/10035.png") no-repeat;
    background-size: 15px 15px;
    z-index: 10;
    cursor: pointer;

}

#right_bottom {
    width: 100%;
    height: 42px;
    display: flex;
    position: relative;

}

#bottom_left {
    width: 65%;
    height: 42px;
    display: flex;
    justify-content: space-around;

    >li {
        width: 12.5%;
        height: 100%;

        >a {
            display: block;
            width: 100%;
            height: 100%;
            font-size: 15px;
        }

    }
}

#bottom_left>li:hover .secondlist {
    display: block;
}


#bottom_right {
    width: 35%;
    height: 37px;
    position: absolute;
    top: -5px;
    right: 0;

    >div {
        width: 368px;
        height: 37px;
        border: 1px solid black;
        display: flex;
        padding-left: 10px;
        text-align: center;
        float: right;
        box-sizing: border-box;

        input {
            width: 330px;
            height: 35px;
            border: none;
            outline: none;
            font-size: 16px;
            text-indent: 20px;

        }
    }

}

#bottom_right>div>a {
    display: block;
    width: 20px;
    height: 37px;
    display: flex;
    align-items: center;
}

#bottom_right>div>a>div {
    width: 20px;
    height: 20px;
    background: url("../images/10024.png") no-repeat 6px 4px/900%;
}


/* 二级菜单 */
.secondlist {
    height: 341px;
    background-color: #fff;
    padding: 40px 0;
    position: fixed;
    box-sizing: border-box;
    top: 87px;
    left: 0;
    right: 0;
    border-top: 1px solid #ddd;
    z-index: 2;
    display: none;
}

.secondcenter {
    width: 1160px;
    height: 100%;
    margin: 0 auto;

    ul {
        margin-left: 50px;
        border-right: 1px solid rgba(0, 0, 0, 0.1);
        padding-right: 30px;
        float: left;
        height: 100%;
    }
}

#bottom_left li:first-child .secondlist .secondcenter ul:nth-child(n+2) {
    border: none;
}

#bottom_left li:nth-child(2) .secondlist .secondcenter ul {
    border: none;
}

#bottom_left li:nth-child(3) .secondlist .secondcenter ul:last-child {
    border: none;
}


.secondcenter ul li {
    height: 25px;
}

.secondcenter ul li:first-child {
    font-size: 16px;
    font-weight: bold;
}

.secondcenter ul li a {
    font-size: 12px;
}

/* 侧边栏 */
#right_nav {
    width: 60px;
    height: auto;
    position: fixed;
    top: 50%;
    margin-top: -5%;
    right: 0;
    z-index: 9;
}

#right_nav>div {
    width: 60px;
    height: 60px;
    margin-bottom: 1px;
    background-color: black;
    text-align: center;


}

#right_nav>div a {
    display: block;
    width: 100%;
    height: 60px;
}

#right_nav>div img {

    width: 42px;
    height: 37px;
    margin-top: 50%;
    transform: translateY(-50%);
}

#right_nav>div a:hover .erweima {
    display: block;
}


.erweima {
    position: absolute;
    height: 186px;
    width: 156px;
    right: 61px;
    top: 0px;
    text-align: center;
    background: #333;
    opacity: 0.9;
    padding: 10px 23px 0 23px;
    box-sizing: border-box;
    display: none;
}

#right_nav>div:nth-child(3) .erweima {
    top: 61px;
}

#right_nav>div a>div>div {
    width: 110px;
    height: 110px;
}

#right_nav>div a>div>div img {
    width: 100%;
    height: 100%;
}

#right_nav>div a>div p {
    color: white;
    margin: 5px 0 5px 0;
}

/* 公告 */
#notice {
    width: 100%;
    height: 32px;
    line-height: 32px;
    color: white;
    background-color: black;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-top: 87px;
}

/* select */
.contain-t {
    width: 1200px;
    height: 50px;
    // background-color: red;
    margin: 0 auto;
    line-height: 50px;
    color: gray;
    font-size: 16px;
}


/* select */
#select {
    width: 1200px;
    height: 47px;
    // background-color: cornflowerblue;
    margin: 0 auto;
    display: flex;

}

#select div {
    width: 150px;
    height: 47px;
    // background-color: lightgreen;
    border: 1px solid gray;
    border-left: none;
    padding: 0 30px 0 10px;
    line-height: 47px;
    position: relative;
    cursor: pointer;

    p {
        font-size: 14px;

        &::after {
            content: "";
            display: block;
            width: 7px;
            height: 7px;
            border: 2px solid #333;
            border-left: 0;
            border-top: 0;
            transform: rotate(45deg);
            position: absolute;
            top: 16px;
            right: 12px;
        }

    }

    &:last-child {
        border-right: none;
    }

}

#select div>ul {
    position: absolute;
    width: 140px;
    /* height: 200px; */
    background-color: white;
    left: 0;
    top: 47px;
    max-height: 400px;
    overflow: auto;
    border: 1px solid gainsboro;
    border-top: none;
    box-sizing: border-box;
    z-index: 2;
    display: none;

    &::-webkit-scrollbar {
        display: none;
    }
}

#select div>ul>li {
    width: 100%;
    height: 47px;
    border-bottom: 1px solid gainsboro;
    box-sizing: border-box;
    line-height: 47px;
    color: grey;
    text-align: center;
}

// 商品
#goodlist {
    width: 1200px;
    height: 1670px;
    /* background-color: blueviolet; */
    margin: 10px auto 0;
}

#goodlist ul {
    width: 100%;
}

#goodlist ul li {
    width: 300px;
    height: 306px;
    box-sizing: border-box;
    margin-bottom: 28px;
    /* background-color: aqua; */
    float: left;
}

#goodlist ul li a {
    width: 100%;
    height: 100%;
}

#goodlist ul li a>div {
    width: 200px;
    height: 220px;
    margin: 0 50px 10px 50px;
}

#goodlist ul li a img {
    width: 100%;
    margin-top: 50%;
    transform: translateY(-50%);
}

#goodlist ul li a article {
    width: 100%;
    height: 76px;
    box-sizing: border-box;
    /* background-color: blue; */
    padding: 0 10px;
}

#goodlist ul li a article div {
    font-size: 16px;
    text-align: center;
    margin-bottom: 10px;
}

#goodlist ul li a article p {
    width: 100%;
    color: red
}

#goodlist ul li a article p span {
    margin-left: 60px;
    font-weight: bold;
}

#goodbottom {
    width: 1200px;
    height: 42px;
    margin: 30px auto;
    /* background-color: aqua; */
}

#goodbottom ul {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
}

#goodbottom ul li {
    cursor: pointer;
    height: 32px;
    line-height: 32px;
    border: 1px solid black;
    border-radius: 3px;
    text-align: center;
    box-sizing: border-box;
    margin-right: 5px;
}

#goodbottom ul li:nth-child(4n+1) {
    width: 48px;
}

#goodbottom ul li:nth-child(2n) {
    width: 61px;
}

#goodbottom ul li:nth-child(3) {
    width: 50px;
}

// 尾部
footer {
    width: 100%;
    height: 600px;
    /* background-color: green; */
}

.footer_top_center {
    width: 1060px;
    height: 100%;
    box-sizing: border-box;
    padding: 0 100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;

    &>div {
        width: 182px;
        height: 127px;
        display: flex;
        flex-direction: column;
        color: white;
        text-align: center;
    }
}

.footer_top {
    width: 100%;
    height: 166px;
    background-color: #000;
}

.footer_top_center>div h3 {
    font-size: 2em;
}

.footer_top_center>div>div {
    width: 100%;
    height: 72px;
}

.footer_top_center>div>div img {
    height: 100%;
}

.footer_logo img {
    display: block;
    width: 100%;
}

.footer_logo {
    margin-top: 40px;
    width: 200px;
    height: 109px;

    >a {
        display: block;
        width: 100%;
        height: 100%;
    }
}

.footer_middle {
    width: 1200px;
    height: 269px;
    margin: 40px auto 0;
    padding: 0 100px;
    // background-color: forestgreen;
    display: flex;
}

.footer_middle_left {
    width: 756px;
    height: 269px;
    float: left;
    // background-color: yellow;
}

.footer_middle {
    ul {
        margin-left: 50px;
        float: left;

        li {
            font-size: 13px;
            height: 25px;
        }
    }
}

.footer_middle_right {
    width: 432px;
    height: 203px;
    padding-right: 162px;
    box-sizing: border-box;
    // background-color: cyan;
}



.fmr_top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 96px;
    margin-bottom: 10px;

    div {
        width: 100px;
        height: 100px;
        margin-bottom: 5px;

        img {
            width: 100%;
        }

    }
}

.fmr_bottom {
    width: 205px;
    height: 40px;
    margin-left: 80px;
    border: 1px solid black;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer_bottom {
    margin-top: 50px;
    text-align: center;

    p {
        font-size: 13px;
        color: #999;
    }
}